/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package views;

import controllers.Boletos;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import models.Pelicula;
import models.enums.TipoPrecio;

/**
 *
 * @author kevin_000
 */
public class ComprarBoletos2 extends javax.swing.JFrame {

    static Integer total = 0;
    Boletos b;
    List<TipoPrecio> tipoPrecios;

    /**
     * Creates new form ComprarBoletos2
     */
    Pelicula p;
    Date d;
    ResultSet rs;
    public ComprarBoletos2(Pelicula p, String idSala) {
        try {
            initComponents();
            
            d = new Date();
            setSize(880, 500);
            setLocationRelativeTo(null);
            b = new Boletos();
            tipoPrecios = b.getTipoPrecio();
            lblPelicula.setText(p.getPelicula());
            lblSala.setText(idSala);
            lblFecha.setText(String.valueOf(d.getDate()));
            rs= b.realizarConsulta("select f.idSala,f.hora from funcion f join pelicula p where p.idPelicula=f.idPelicula and p.titulo like '"+lblPelicula.getText()+"';");
            rs.next();
            lblHora.setText(rs.getString("hora").toString());
            lblFuncion.setText(rs.getString("idSala").toString());
            lblEdad.setText(TipoPrecio.PRECIOTERCERAEDAD.toString());
            lblPrecio.setText("45");
            lblEdad1.setText(TipoPrecio.PRECIOADULTO.toString());
            lblPrecio1.setText("52");
            lblEdad2.setText(TipoPrecio.PRECIONINO.toString());
            lblPrecio2.setText("35");
        } catch (SQLException ex) {
            Logger.getLogger(ComprarBoletos2.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel3 = new javax.swing.JLabel();
        jLabel12 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jLabel17 = new javax.swing.JLabel();
        spinCantidad = new javax.swing.JSpinner();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        lblSubtotal = new javax.swing.JLabel();
        lblPrecio = new javax.swing.JLabel();
        jButton2 = new javax.swing.JButton();
        jButton1 = new javax.swing.JButton();
        jLabel30 = new javax.swing.JLabel();
        jLabel32 = new javax.swing.JLabel();
        lblHora = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        lblFuncion = new javax.swing.JLabel();
        lblSala = new javax.swing.JLabel();
        lblFecha = new javax.swing.JLabel();
        lblPelicula = new javax.swing.JLabel();
        jLabel39 = new javax.swing.JLabel();
        lblTotal = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        lblEdad = new javax.swing.JLabel();
        lblSubtotal1 = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        lblPrecio1 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        spinCantidad1 = new javax.swing.JSpinner();
        lblEdad1 = new javax.swing.JLabel();
        lblSubtotal2 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        lblPrecio2 = new javax.swing.JLabel();
        jLabel43 = new javax.swing.JLabel();
        spinCantidad2 = new javax.swing.JSpinner();
        lblEdad2 = new javax.swing.JLabel();
        lblCostoFinal = new javax.swing.JLabel();
        lblCantidadFinal = new javax.swing.JLabel();
        jButton3 = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        lblPrecio5 = new javax.swing.JLabel();
        lblPrecio3 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Proceso de Compra de Boletos 2");
        getContentPane().setLayout(null);

        jLabel3.setFont(new java.awt.Font("Rockwell", 3, 60)); // NOI18N
        jLabel3.setForeground(new java.awt.Color(255, 255, 255));
        jLabel3.setText("CANTIDAD Y PRECIO");
        getContentPane().add(jLabel3);
        jLabel3.setBounds(80, 20, 660, 60);

        jLabel12.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel12.setForeground(new java.awt.Color(255, 255, 255));
        jLabel12.setText("Hora:");
        getContentPane().add(jLabel12);
        jLabel12.setBounds(70, 210, 70, 40);

        jLabel6.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel6.setForeground(new java.awt.Color(255, 255, 255));
        jLabel6.setText("Funcion:");
        getContentPane().add(jLabel6);
        jLabel6.setBounds(30, 120, 110, 40);

        jLabel13.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel13.setForeground(new java.awt.Color(255, 255, 255));
        jLabel13.setText("Sala:");
        getContentPane().add(jLabel13);
        jLabel13.setBounds(80, 150, 60, 40);

        jLabel14.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel14.setForeground(new java.awt.Color(255, 255, 255));
        jLabel14.setText("Fecha:");
        getContentPane().add(jLabel14);
        jLabel14.setBounds(60, 180, 90, 40);

        jLabel17.setFont(new java.awt.Font("Rockwell", 1, 30)); // NOI18N
        jLabel17.setForeground(new java.awt.Color(255, 255, 255));
        jLabel17.setText("Total");
        getContentPane().add(jLabel17);
        jLabel17.setBounds(50, 430, 90, 40);

        spinCantidad.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
        spinCantidad.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                spinCantidadStateChanged(evt);
            }
        });
        getContentPane().add(spinCantidad);
        spinCantidad.setBounds(220, 310, 60, 30);

        jLabel18.setFont(new java.awt.Font("Rockwell", 1, 30)); // NOI18N
        jLabel18.setForeground(new java.awt.Color(255, 255, 255));
        jLabel18.setText("Edad");
        getContentPane().add(jLabel18);
        jLabel18.setBounds(70, 260, 140, 40);

        jLabel19.setFont(new java.awt.Font("Rockwell", 1, 30)); // NOI18N
        jLabel19.setForeground(new java.awt.Color(255, 255, 255));
        jLabel19.setText("Cantidad");
        getContentPane().add(jLabel19);
        jLabel19.setBounds(180, 260, 140, 40);

        jLabel23.setFont(new java.awt.Font("Rockwell", 1, 30)); // NOI18N
        jLabel23.setForeground(new java.awt.Color(255, 255, 255));
        jLabel23.setText("Costo");
        getContentPane().add(jLabel23);
        jLabel23.setBounds(350, 260, 100, 40);

        lblSubtotal.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblSubtotal.setForeground(new java.awt.Color(255, 255, 255));
        lblSubtotal.setText("0");
        getContentPane().add(lblSubtotal);
        lblSubtotal.setBounds(530, 300, 100, 40);

        lblPrecio.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPrecio.setForeground(new java.awt.Color(255, 255, 255));
        lblPrecio.setText("00.00");
        getContentPane().add(lblPrecio);
        lblPrecio.setBounds(370, 300, 100, 40);

        jButton2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IMAGENES/Boton 6.png"))); // NOI18N
        jButton2.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/IMAGENES/Boton 6 Rollover.png"))); // NOI18N
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton2);
        jButton2.setBounds(710, 100, 140, 50);

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IMAGENES/Boton 7.png"))); // NOI18N
        jButton1.setRolloverIcon(new javax.swing.ImageIcon(getClass().getResource("/IMAGENES/Boton 7 Rollover.png"))); // NOI18N
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton1);
        jButton1.setBounds(710, 170, 140, 50);

        jLabel30.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel30.setForeground(new java.awt.Color(255, 255, 255));
        jLabel30.setText("$");
        getContentPane().add(jLabel30);
        jLabel30.setBounds(350, 300, 20, 40);

        jLabel32.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel32.setForeground(new java.awt.Color(255, 255, 255));
        jLabel32.setText("$");
        getContentPane().add(jLabel32);
        jLabel32.setBounds(510, 300, 20, 40);

        lblHora.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblHora.setForeground(new java.awt.Color(255, 255, 255));
        getContentPane().add(lblHora);
        lblHora.setBounds(150, 210, 180, 40);

        jLabel34.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel34.setForeground(new java.awt.Color(255, 255, 255));
        jLabel34.setText("Pelicula:");
        getContentPane().add(jLabel34);
        jLabel34.setBounds(30, 90, 110, 40);

        lblFuncion.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblFuncion.setForeground(new java.awt.Color(255, 255, 255));
        getContentPane().add(lblFuncion);
        lblFuncion.setBounds(150, 120, 180, 40);

        lblSala.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblSala.setForeground(new java.awt.Color(255, 255, 255));
        getContentPane().add(lblSala);
        lblSala.setBounds(150, 150, 180, 40);

        lblFecha.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblFecha.setForeground(new java.awt.Color(255, 255, 255));
        getContentPane().add(lblFecha);
        lblFecha.setBounds(150, 180, 180, 40);

        lblPelicula.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPelicula.setForeground(new java.awt.Color(255, 255, 255));
        getContentPane().add(lblPelicula);
        lblPelicula.setBounds(150, 90, 440, 40);

        jLabel39.setFont(new java.awt.Font("Rockwell", 1, 30)); // NOI18N
        jLabel39.setForeground(new java.awt.Color(255, 255, 255));
        jLabel39.setText("Subtotal");
        getContentPane().add(jLabel39);
        jLabel39.setBounds(490, 260, 140, 40);

        lblTotal.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblTotal.setForeground(new java.awt.Color(255, 255, 255));
        lblTotal.setText("0.00");
        getContentPane().add(lblTotal);
        lblTotal.setBounds(660, 430, 100, 40);

        jLabel41.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel41.setForeground(new java.awt.Color(255, 255, 255));
        jLabel41.setText("$");
        getContentPane().add(jLabel41);
        jLabel41.setBounds(640, 430, 20, 40);

        lblEdad.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        lblEdad.setForeground(new java.awt.Color(255, 255, 255));
        lblEdad.setText("Edad X");
        lblEdad.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                lblEdadFocusGained(evt);
            }
        });
        getContentPane().add(lblEdad);
        lblEdad.setBounds(50, 320, 160, 20);

        lblSubtotal1.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblSubtotal1.setForeground(new java.awt.Color(255, 255, 255));
        lblSubtotal1.setText("0");
        getContentPane().add(lblSubtotal1);
        lblSubtotal1.setBounds(530, 340, 100, 40);

        jLabel40.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel40.setForeground(new java.awt.Color(255, 255, 255));
        jLabel40.setText("$");
        getContentPane().add(jLabel40);
        jLabel40.setBounds(510, 340, 20, 40);

        lblPrecio1.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPrecio1.setForeground(new java.awt.Color(255, 255, 255));
        lblPrecio1.setText("00.00");
        getContentPane().add(lblPrecio1);
        lblPrecio1.setBounds(370, 340, 100, 40);

        jLabel31.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel31.setForeground(new java.awt.Color(255, 255, 255));
        jLabel31.setText("$");
        getContentPane().add(jLabel31);
        jLabel31.setBounds(350, 340, 20, 40);

        spinCantidad1.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
        spinCantidad1.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                spinCantidad1StateChanged(evt);
            }
        });
        getContentPane().add(spinCantidad1);
        spinCantidad1.setBounds(220, 350, 60, 30);

        lblEdad1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        lblEdad1.setForeground(new java.awt.Color(255, 255, 255));
        lblEdad1.setText("Edad X");
        lblEdad1.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                lblEdad1FocusGained(evt);
            }
        });
        getContentPane().add(lblEdad1);
        lblEdad1.setBounds(50, 360, 140, 20);

        lblSubtotal2.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblSubtotal2.setForeground(new java.awt.Color(255, 255, 255));
        lblSubtotal2.setText("0");
        getContentPane().add(lblSubtotal2);
        lblSubtotal2.setBounds(530, 380, 100, 40);

        jLabel42.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel42.setForeground(new java.awt.Color(255, 255, 255));
        jLabel42.setText("$");
        getContentPane().add(jLabel42);
        jLabel42.setBounds(510, 380, 20, 40);

        lblPrecio2.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPrecio2.setForeground(new java.awt.Color(255, 255, 255));
        lblPrecio2.setText("00.00");
        getContentPane().add(lblPrecio2);
        lblPrecio2.setBounds(370, 380, 100, 40);

        jLabel43.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        jLabel43.setForeground(new java.awt.Color(255, 255, 255));
        jLabel43.setText("$");
        getContentPane().add(jLabel43);
        jLabel43.setBounds(350, 380, 20, 40);

        spinCantidad2.setFont(new java.awt.Font("Century Gothic", 1, 24)); // NOI18N
        spinCantidad2.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                spinCantidad2StateChanged(evt);
            }
        });
        getContentPane().add(spinCantidad2);
        spinCantidad2.setBounds(220, 390, 60, 30);

        lblEdad2.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        lblEdad2.setForeground(new java.awt.Color(255, 255, 255));
        lblEdad2.setText("Edad X");
        lblEdad2.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusGained(java.awt.event.FocusEvent evt) {
                lblEdad2FocusGained(evt);
            }
        });
        getContentPane().add(lblEdad2);
        lblEdad2.setBounds(50, 400, 140, 20);

        lblCostoFinal.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblCostoFinal.setForeground(new java.awt.Color(255, 255, 255));
        lblCostoFinal.setText("00.00");
        getContentPane().add(lblCostoFinal);
        lblCostoFinal.setBounds(360, 430, 100, 40);

        lblCantidadFinal.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblCantidadFinal.setForeground(new java.awt.Color(255, 255, 255));
        lblCantidadFinal.setText("00.00");
        getContentPane().add(lblCantidadFinal);
        lblCantidadFinal.setBounds(210, 430, 100, 40);

        jButton3.setText("Actualizar Total");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });
        getContentPane().add(jButton3);
        jButton3.setBounds(650, 350, 120, 23);

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/IMAGENES/deep_abstract-1920x1080.jpg"))); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(-140, -10, 1050, 500);

        lblPrecio5.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPrecio5.setForeground(new java.awt.Color(255, 255, 255));
        lblPrecio5.setText("00.00");
        getContentPane().add(lblPrecio5);
        lblPrecio5.setBounds(630, 400, 100, 40);

        lblPrecio3.setFont(new java.awt.Font("Rockwell", 1, 24)); // NOI18N
        lblPrecio3.setForeground(new java.awt.Color(255, 255, 255));
        lblPrecio3.setText("00.00");
        getContentPane().add(lblPrecio3);
        lblPrecio3.setBounds(370, 300, 100, 40);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        if (JOptionPane.showConfirmDialog(rootPane, "Desea Realizar Esta compra?") == 0) {
            Ticket t = new Ticket(lblPelicula.getText(), lblFuncion.getText(), lblSala.getText(), lblFecha.getText(), lblHora.getText());
        t.setVisible(true);
        this.dispose();
        }
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed

        this.dispose();
    }//GEN-LAST:event_jButton1ActionPerformed

    private void spinCantidadStateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_spinCantidadStateChanged
        // TODO add your handling code here:
        Integer subtotal = 0;
        subtotal = Integer.parseInt(lblPrecio.getText()) * (Integer) spinCantidad.getValue();
        lblSubtotal.setText(String.valueOf(subtotal));

    }//GEN-LAST:event_spinCantidadStateChanged

    private void lblEdadFocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_lblEdadFocusGained
        // TODO add your handling code here:
    }//GEN-LAST:event_lblEdadFocusGained

    private void spinCantidad1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_spinCantidad1StateChanged
        // TODO add your handling code here:
        Integer subtotal = 0;
        subtotal = Integer.parseInt(lblPrecio1.getText()) * (Integer) spinCantidad1.getValue();
        lblSubtotal1.setText(String.valueOf(subtotal));
    }//GEN-LAST:event_spinCantidad1StateChanged

    private void lblEdad1FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_lblEdad1FocusGained
        // TODO add your handling code here:
    }//GEN-LAST:event_lblEdad1FocusGained

    private void spinCantidad2StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_spinCantidad2StateChanged
        // TODO add your handling code here:
        Integer subtotal = 0;
        subtotal = Integer.parseInt(lblPrecio2.getText()) * (Integer) spinCantidad2.getValue();
        lblSubtotal2.setText(String.valueOf(subtotal));
    }//GEN-LAST:event_spinCantidad2StateChanged

    private void lblEdad2FocusGained(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_lblEdad2FocusGained
        // TODO add your handling code here:
    }//GEN-LAST:event_lblEdad2FocusGained

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        // TODO add your handling code here:
        lblCantidadFinal.setText(String.valueOf((Integer) spinCantidad.getValue() + (Integer) spinCantidad1.getValue() + (Integer) spinCantidad2.getValue()));
        lblCostoFinal.setText(String.valueOf(Integer.parseInt(lblSubtotal.getText())+Integer.parseInt(lblSubtotal1.getText())+Integer.parseInt(lblSubtotal2.getText())));
        lblTotal.setText(String.valueOf(Integer.parseInt(lblSubtotal.getText())+Integer.parseInt(lblSubtotal1.getText())+Integer.parseInt(lblSubtotal2.getText())));
        JOptionPane.showMessageDialog(rootPane, "Actualizado con exito");
    }//GEN-LAST:event_jButton3ActionPerformed

    

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel lblCantidadFinal;
    private javax.swing.JLabel lblCostoFinal;
    private javax.swing.JLabel lblEdad;
    private javax.swing.JLabel lblEdad1;
    private javax.swing.JLabel lblEdad2;
    private javax.swing.JLabel lblFecha;
    private javax.swing.JLabel lblFuncion;
    private javax.swing.JLabel lblHora;
    private javax.swing.JLabel lblPelicula;
    private javax.swing.JLabel lblPrecio;
    private javax.swing.JLabel lblPrecio1;
    private javax.swing.JLabel lblPrecio2;
    private javax.swing.JLabel lblPrecio3;
    private javax.swing.JLabel lblPrecio5;
    private javax.swing.JLabel lblSala;
    private javax.swing.JLabel lblSubtotal;
    private javax.swing.JLabel lblSubtotal1;
    private javax.swing.JLabel lblSubtotal2;
    private javax.swing.JLabel lblTotal;
    private javax.swing.JSpinner spinCantidad;
    private javax.swing.JSpinner spinCantidad1;
    private javax.swing.JSpinner spinCantidad2;
    // End of variables declaration//GEN-END:variables


}
